﻿#ifndef POSTCOMMAND_CMDSAVEACTIVECLIPPERSETTINGDATA_H
#define POSTCOMMAND_CMDSAVEACTIVECLIPPERSETTINGDATA_H

#include "CommandManager/CommandBase.h"
#include <QString>

namespace PostCommand
{

    class CmdSaveActiveClipperSettingData : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdSaveActiveClipperSettingData();
        ~CmdSaveActiveClipperSettingData();

        bool execute() override;
        void undo() override;
        void redo() override;

        void saveActiveClipperSettingData(int windowUniversalID, bool toolButtonActiveClipperIsChecked, bool toolButtonModelDisplayIsChecked, bool hasAnyGeometrySuccess, QString direction, double clipperValue);

    private:

        int m_windowUniversalID;
        bool m_toolButtonActiveClipperIsChecked;
        bool m_toolButtonModelDisplayIsChecked;
        bool m_hasAnyGeometrySuccess;
        QString m_direction;
        double m_clipperValue;
    };
} // namespace PostCommand

#endif
